# Maintainer: Muflone http://www.muflone.com/contacts/english/
# Contributor: jose <jose1711 [at] gmail (dot) com>

pkgname=gwakeonlan
pkgver=0.8.5
pkgrel=2
pkgdesc="GTK+ utility to awake machines using the Wake on LAN."
url="http://www.muflone.com/gwakeonlan/"
arch=('any')
license=('GPL3')
makedepends=('python-setuptools' 'gettext')
depends=('gtk3' 'python-xdg' 'python-gobject')
source=("${pkgname}-${pkgver}.tar.gz"::"https://github.com/muflone/${pkgname}/archive/${pkgver}.tar.gz")
sha256sums=('098d6d2912b73067aa610b31e5bce9e5d76fa651e5eb02bb47577b488ac33e17')

build() {
  cd "${pkgname}-${pkgver}"
  python setup.py build
}

package() {
  cd "${pkgname}-${pkgver}"
  python setup.py install --optimize=1 --root "${pkgdir}"
}
